home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_01_06
/
1n06040a
< prev
next >
Wrap
Text File
|
1990-10-01
|
205b
|
19 lines
Listing 6
int yylex(void)
{
int c;
while (isspace(c = getchar()) && c != '\n')
;
if (isdigit(c))
{
ungetc(c, stdin);
scanf("%d", &yylval);
return INT;
}
return c;
}